package basic

import (
	"context"
)

/*
*

	put("requestId", requestId);
	          put("apiUri", apiUri);
	          put("apiKey", apiKey);
	          put("Request-Logging", "enable");
*/
type Auth struct {
	RequestId      string
	ApiUri         string
	ApiKey         string
	RequestLogging string
}

func (b Auth) GetRequestMetadata(ctx context.Context, in ...string) (map[string]string, error) {
	return map[string]string{
		"requestId":       b.RequestId,
		"apiUri":          b.ApiUri,
		"apiKey":          b.ApiKey,
		"Request-Logging": b.RequestLogging,
	}, nil
}

func (b Auth) RequireTransportSecurity() bool {
	return false
}
